package com.zcsy.manage.model.wxpay;

import java.io.Serializable;

/**
 * @Title: WxPayToken.java
 * @Package： com.zcsy.shop.model.wxpay 
 * @Description: 微信支付Js授权token
 *
 * @author tanghan barbadosliy@163.com
 * @Copyright: 2015 武汉中财数元信息技术有限公司 All rights reserved.
 * @date 2015年11月6日
 * @version 1.0
 * @see JDK1.7.0_75
 * @since
 */
public class WxPayToken implements Serializable{

	/**
	 * 序列化<br>
	 */
	private static final long serialVersionUID = 7852927978333047768L;
	
	/**
	 * 微信公众号Id<br>
	 */
	private String appId;

	/**
	 * 支付签名时间戳<br>
	 */
	public String timestamp;
	
	/**
	 * 支付签名随机串，不长于 32 位<br>
	 */
	public String nonceStr;
	
	/**
	 * 统一支付接口返回的prepay_id参数值，提交格式如：prepay_id=***<br>
	 */
	public String packageStr;
	
	/**
	 * 签名方式，默认为'SHA1'，使用新版支付需传入'MD5'<br>
	 */
	public String signType;
	
	/**
	 * 支付签名<br>
	 */
	public String paySign;
	
	//商户号
	public String partnerId;

	public String getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(String partnerId) {
        this.partnerId = partnerId;
    }

    public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}

	public String getNonceStr() {
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

	public String getPackageStr() {
		return packageStr;
	}

	public void setPackageStr(String packageStr) {
		this.packageStr = packageStr;
	}

	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}

	public String getPaySign() {
		return paySign;
	}

	public void setPaySign(String paySign) {
		this.paySign = paySign;
	}

	/**
	 * @return Returns the appId.
	 */
	public String getAppId() {
		return appId;
	}

	/**
	 * @param appId The appId to set.
	 */
	public void setAppId(String appId) {
		this.appId = appId;
	}

	/**
	 * {@inheritDoc}
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "WxPayToken [appId=" + appId + ", timestamp=" + timestamp + ", nonceStr=" + nonceStr + ", packageStr="
				+ packageStr + ", signType=" + signType + ", paySign=" + paySign + "]";
	}

}
